TEMPLATE = app

QT += qml quick widgets opengl gui

TARGET = androidAndOpenglDemo

DESTDIR = $$PWD/bin

SOURCES += main.cpp \

RESOURCES += qml/qml.qrc \
    qml/shaders.qrc

#QMAKE_CXXFLAGS += -Wno-unused-parameter

# Additional import path used to resolve QML modules in Qt Creator's code model
QML_IMPORT_PATH =

# Default rules for deployment.
include(deployment.pri)
include(./cpp/mainwindow.pri)
include(./cpp/common/common.pri)
include(./cpp/log/log.pri)
include(./cpp/render/render.pri)
include(./cpp/render/basic/openglwindow.pri)


HEADERS += \


android-g++{
    QT += androidextras

#    DISTFILES += \
#        android/AndroidManifest.xml \
#        android/gradle/wrapper/gradle-wrapper.jar \
#        android/gradlew \
#        android/res/values/libs.xml \
#        android/build.gradle \
#        android/gradle/wrapper/gradle-wrapper.properties \
#        android/gradlew.bat \
#        android/src/an/qt/useJar/ExtendsQtNative.java \
#        android/src/an/qt/useJar/ExtendsQtWithJava.java

#    ANDROID_PACKAGE_SOURCE_DIR = $$PWD/android

    HEADERS += \
        android/log.h

    SOURCES += \
}
win32{
}

DISTFILES += \
    android/AndroidManifest.xml \
    android/gradle/wrapper/gradle-wrapper.jar \
    android/gradlew \
    android/res/values/libs.xml \
    android/build.gradle \
    android/gradle/wrapper/gradle-wrapper.properties \
    android/gradlew.bat \
    android/AndroidManifest.xml \
    android/gradle/wrapper/gradle-wrapper.jar \
    android/gradlew \
    android/res/values/libs.xml \
    android/build.gradle \
    android/gradle/wrapper/gradle-wrapper.properties \
    android/gradlew.bat \
    android/AndroidManifest.xml \
    android/gradle/wrapper/gradle-wrapper.jar \
    android/gradlew \
    android/res/values/libs.xml \
    android/build.gradle \
    android/gradle/wrapper/gradle-wrapper.properties \
    android/gradlew.bat \
    android/AndroidManifest.xml \
    android/gradle/wrapper/gradle-wrapper.jar \
    android/gradlew \
    android/res/values/libs.xml \
    android/build.gradle \
    android/gradle/wrapper/gradle-wrapper.properties \
    android/gradlew.bat

ANDROID_PACKAGE_SOURCE_DIR = $$PWD/android
